package com.net.model.utils;

/**
 * 版权：周和权 版权所有
 *
 * @author zhouhequan
 * 版本：1.0
 * 创建日期：2021/11/12 or 22:00
 * 描述：---
 */
public class Constant {
    //    public static String releaseServer = "http://192.168.101.199:1601/hosp/";//线上环境
    public static String releaseServer = "http://192.168.10.200:8081/";//线上环境

    public static String getPictureUri() {
        return releaseServer + "queue/file/download?filePath=";
    }

    /**
     * 服务器返回数据为空
     */
    public final static int EMPTY_DATA_ERROR = 0;


    /* 返回码 */
    public final static Integer CODE_SUCCESS = 2000;//成功
    public static final Integer CODE_FAIL = 5000;       // 失败
    public static final Integer CODE_NOT_FOUND = 4004;  // 404
    public static final Integer CODE_AUTH_FAIL = 4001;  // 认证失败

    /* 返回信息 */
    public static final String MSG_SUCCESS = "SUCCESS";                             // 成功
    public static final String MSG_FAIL = "FAIL";                                   // 失败
    public static final String MSG_NOT_FOUND = "NOT_FOUND";                         // 404错误
    public static final String MSG_INTERNAL_SERVER_ERROR = "服务端错误";             // 服务端错误
    public static final String MSG_NOT_AUTH = "未认证，请登录";
    public static final String MSG_AUTH_EXPIRED = "认证已过期，请重新登录";
    public static final String MSG_NULL_POINTER_EXCEPTION = "数据为空异常";
    public static final String MSG_SQL_EXCEPTION = "数据库操作异常";
    public static final String MSG_MYBATIS_PLUS_EXCEPTION = "框架组件异常";
    public static final String MSG_CONNECT_EXCEPTION = "连接异常";
    public static final String MSG_IO_EXCEPTION = "IO异常";
}
